package thread;

public class Text2 {

	public static void main(String[] args) {
		/*
		 * RunableDemo rd1=new RunableDemo(); RunableDemo rd2=new RunableDemo();
		 * Thread th1=new Thread(rd1); Thread th2=new Thread(rd2);
		 */
		RunableDemo rd = new RunableDemo();
		Thread th1 = new Thread(rd,"窗口1");
		Thread th2 = new Thread(rd,"窗口2");
		Thread th3 = new Thread(rd,"窗口3");
		th1.start();
		th2.start();
		th3.start();

	}

}
